package com.fanrui.code.entity;

import com.fanrui.code.entity.PlayerLog;
import com.fanrui.code.entity.PlayerLogExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PlayerLogMapper {
    long countByExample(PlayerLogExample example);

    int deleteByExample(PlayerLogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PlayerLog record);

    int insertSelective(PlayerLog record);

    List<PlayerLog> selectByExample(PlayerLogExample example);

    PlayerLog selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PlayerLog record, @Param("example") PlayerLogExample example);

    int updateByExample(@Param("record") PlayerLog record, @Param("example") PlayerLogExample example);

    int updateByPrimaryKeySelective(PlayerLog record);

    int updateByPrimaryKey(PlayerLog record);

    /** 批量添加 **/
	void insertBatchSelective(List<PlayerLog> logList);

	List<Integer> selectCreateRoom(@Param("userId")long userId,@Param("type")int type, @Param("clubId")int clubId, @Param("createDate")String createDate);
}